﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.LightSwitch;
namespace LightSwitchApplication
{
    public partial class Articolo
    {
        partial void ImportoTotaleMateriale_Compute(ref decimal result)
        {
            // Set result to the desired field value

            foreach (var d in DettagliMaterialeArticolo)
                result += d.PrezzoCad;

        }
    }
}
